const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: process.env.NODE_ENV === 'development' ? '' : '/static',
  lintOnSave: false,
  outputDir: '../static',
  devServer: {
    proxy: {
      '/dev': {
        target: 'http://127.0.0.1:3000',
        changeOrigin: true,
        pathRewrite: {
          "^/dev": ''
        }
      }
    }
  }
})
